/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 18128
 * Date: 2023-09-23
 * Time: 20:01
 */

public class yfl {
    public static void main(String[] args) {
        String s1="ajx";
        String s2="hjw";
        System.out.println(s1.compareTo(s2));
        System.out.println(s1.equals(s2));
    }
}
